package com.example.springrabbitmqexamples.springrabbitmqexamples.model;

import java.io.Serializable;

/**
 * @Description
 * @Author benjamin
 * @Date 2020/7/27 17:35
 * @Version
 */
public class User implements Serializable {

    private String name;

    private String habbit;

    public User() {
    }

    public User(String name, String habbit) {
        this.name = name;
        this.habbit = habbit;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getHabbit() {
        return habbit;
    }

    public void setHabbit(String habbit) {
        this.habbit = habbit;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                ", habbit='" + habbit + '\'' +
                '}';
    }
}
